﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Text;

namespace PluginInterFace.BLL
{
    public class ssq
    {
        public DataSet GetList(string strWhere)
        {
            DAL.ssq ass = new DAL.ssq();
            return ass.GetList(strWhere);
        }

        public DataSet GetList(string strWhere, int sRecord, int mRecord)
        {
            DAL.ssq ass = new DAL.ssq();
            return ass.GetList(strWhere, sRecord, mRecord);
        }

        public bool AddData(Model.ssq[] mss)
        {
            DAL.ssq ass = new DAL.ssq();
            return ass.AddData(mss);
        }

        public bool UpData(Model.ssq mss)
        {
            DAL.ssq ass = new DAL.ssq();
            return ass.UpData(mss);
        }

        public bool DelData(int 期号)
        {
            DAL.ssq ass = new DAL.ssq();
            return ass.DelData(期号);
        }

        public bool ExistsData(int 期号)
        {
            DAL.ssq ass = new DAL.ssq();
            return ass.ExistsData(期号);
        }

        public bool ExistsData(int 红1, int 红2, int 红3, int 红4, int 红5, int 红6, int 蓝)
        {
            DAL.ssq ass = new DAL.ssq();
            return ass.ExistsData(红1, 红2, 红3, 红4, 红5, 红6, 蓝);
        }

        public bool CopyData(string dfile)
        {
            DAL.ssq ass = new DAL.ssq();
            return ass.CopyData(dfile);
        }
    }
}
